package com.example.demo.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "base.info")
@Data
public class BaseInfoProps {

    private String name;

    private String sex;

    private String salary;

}
